-- GENERATED SPELL FOR [Lar'korwi] --


function spell0_9684(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9684', 15000, 1)
end

function spell1_9684(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9684', 8000, 1)
end

function Sorts_9684(pUnit, Event)
local choix_sorts_9684 = math.random(0, 1)
if choix_sorts_9684 == 0 then
pUnit:RegisterEvent('spell0_9684', 1, 1)
end
if choix_sorts_9684 == 1 then
pUnit:RegisterEvent('spell1_9684', 1, 1)
end
end

function mob9684_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9684', math.random(1500, 3000), 1)
end

function mob9684_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9684_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9684_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9684, 1, 'mob9684_Action')
RegisterUnitEvent(9684, 2, 'mob9684_Leave')
RegisterUnitEvent(9684, 3, 'mob9684_Kill')
RegisterUnitEvent(9684, 4, 'mob9684_Die')
